import request from '@/utils/request';

// jieTan
export async function userLogin(params) {
  return request('/login', {
    method: 'POST',
    data: params,
    headers: {
      'Content-Type': "application/json; charset=UTF-8",
    },
  });
}

export async function fakeAccountLogin(params) {
  return request('/api/login/account', {
    method: 'POST',
    data: params,
  });
}
export async function getFakeCaptcha(mobile) {
  return request(`/api/login/captcha?mobile=${mobile}`);
}
